using System.Web.Mvc;
using Wikey.Domain.Components;

namespace Wikey.Web.Mvc.Controllers
{
    public class ControllerOn<T> : Controller {
        protected T Repository;

        public ControllerOn() {
            LoadRepository();
        }

        private void LoadRepository() {
            Repository = Factory.Get<T>();

        }
    }
}